package com.taxinfo.pojo.dto;

/**
 * 登录信息
 *
 * @author wanghy
 *
 */
public class LoginDto {

	/** 账号 */
	private String id;
	/** 姓名 */
	private String name;
	/** 密码 */
	private String password;

	/**
	 * 统一社会信用代码
	 */
	private String creditCode;

	/**
	 * 企业名称
	 */
	private String companyName;

	/**
	 * 公司地址
	 */
	private String address;

	/**
	 * 联系人
	 */
	private String contacts;

	/**
	 * 联系电话
	 */
	private String tel;

	/**
	 * 邮箱
	 */
	private String email;

	/**
	 * ip地址
	 */
	private String ipAddr;

	public String getIpAddr() {
		return ipAddr;
	}

	public void setIpAddr(String ipAddr) {
		this.ipAddr = ipAddr;
	}

	public String getTokens() {
		return tokens;
	}

	public void setTokens(String tokens) {
		this.tokens = tokens;
	}

	/**
	 * tokens令牌
	 */
	private String tokens;

	/**
	 * 指标准则类型(0:旧指标准则1:新,2小)
	 */
	private String indexStandardType;

	/**
	 * 纳税人性质（0：一般纳税人，1：小规模纳税人）
	 */
	private String taxpayerNature;

	private String softName;

	public String getSoftId() {
		return softId;
	}

	public void setSoftId(String softId) {
		this.softId = softId;
	}

	private String softId;

	private String fieldName;

	public String getSoftName() {
		return softName;
	}

	public void setSoftName(String softName) {
		this.softName = softName;
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName;
	}

	public String getIndexStandardType() {
		return indexStandardType;
	}

	public void setIndexStandardType(String indexStandardType) {
		this.indexStandardType = indexStandardType;
	}

	public String getTaxpayerNature() {
		return taxpayerNature;
	}

	public void setTaxpayerNature(String taxpayerNature) {
		this.taxpayerNature = taxpayerNature;
	}


	/**
	 * 校验码
	 */
	private String verifyCode;

	/**
	 * 基准日期
	 */
	private String baseDate;

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	private String type;

	public String getVerifyCode() {
		return verifyCode;
	}

	public void setVerifyCode(String verifyCode) {
		this.verifyCode = verifyCode;
	}

	public String getBaseDate() {
		return baseDate;
	}

	public void setBaseDate(String baseDate) {
		this.baseDate = baseDate;
	}


	/** 权限 */
	private int root;

	public String getCreditCode() {
		return creditCode;
	}

	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContacts() {
		return contacts;
	}

	public void setContacts(String contacts) {
		this.contacts = contacts;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getRoot() {
		return root;
	}


	public LoginDto() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int isRoot() {
		return root;
	}

	public void setRoot(int root) {
		this.root = root;
	}

	@Override
	public String toString() {
		return "LoginBean{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", password='" + password + '\'' +
				", root=" + root +
				'}';
	}
}
